QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp \
    loginwindow.cpp \
    mainwindow.cpp \
    mywidget.cpp \
    sqlhelper.cpp \
    dialogs/modifycheckindialog.cpp \
    dialogs/modifyuserdialog.cpp \
    subpages/dormitorymanagementpage.cpp \
    subpages/jobmanagementpage.cpp \
    subpages/powermanagementpage.cpp \
    subpages/checkinmanagementpage.cpp \
    subpages/checkinpage.cpp \
    subpages/usermanagemenpage.cpp

HEADERS += \
    mywidget.h \
    usermanager.h \
    loginwindow.h \
    mainwindow.h \
    sqlhelper.h \
    dialogs/modifycheckindialog.h \
    dialogs/modifyuserdialog.h \
    subpages/dormitorymanagementpage.h \
    subpages/jobmanagementpage.h \
    subpages/powermanagementpage.h \
    subpages/checkinmanagementpage.h \
    subpages/checkinpage.h \
    subpages/usermanagemenpage.h \

FORMS += \
    loginwindow.ui \
    mainwindow.ui \
    dialogs/modifycheckindialog.ui \
    dialogs/modifyuserdialog.ui \
    subpages/checkinmanagementpage.ui \
    subpages/checkinpage.ui \
    subpages/dormitorymanagementpage.ui \
    subpages/jobmanagementpage.ui \
    subpages/powermanagementpage.ui \
    subpages/usermanagemenpage.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
